package com.yipao.db.domain;

import java.util.Date;
import java.util.Set;

/**
 * 微信支付配置类
 * @author tianhao
 * @date 2020/4/22 22:00
 **/
public class WxPayConfigModel {
    private String id;

    private String name;

    private Integer mchId;

    private String tradeType;

    private String secretKey;

    private String account;

    private String subAppId;

    private Integer subMchId;

    private String planId;

    private Date createTime;

    private byte[] certFile;

    private Set<WxAppConfigModel> wxAppConfigSet;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id == null ? null : id.trim();
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public Integer getMchId() {
        return mchId;
    }

    public void setMchId(Integer mchId) {
        this.mchId = mchId;
    }

    public String getTradeType() {
        return tradeType;
    }

    public void setTradeType(String tradeType) {
        this.tradeType = tradeType == null ? null : tradeType.trim();
    }

    public String getSecretKey() {
        return secretKey;
    }

    public void setSecretKey(String secretKey) {
        this.secretKey = secretKey == null ? null : secretKey.trim();
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account == null ? null : account.trim();
    }

    public String getSubAppId() {
        return subAppId;
    }

    public void setSubAppId(String subAppId) {
        this.subAppId = subAppId == null ? null : subAppId.trim();
    }

    public Integer getSubMchId() {
        return subMchId;
    }

    public void setSubMchId(Integer subMchId) {
        this.subMchId = subMchId;
    }

    public String getPlanId() {
        return planId;
    }

    public void setPlanId(String planId) {
        this.planId = planId == null ? null : planId.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public byte[] getCertFile() {
        return certFile;
    }

    public void setCertFile(byte[] certFile) {
        this.certFile = certFile;
    }

    public Set<WxAppConfigModel> getWxAppConfigSet() {
        return wxAppConfigSet;
    }

    public void setWxAppConfigSet(Set<WxAppConfigModel> wxAppConfigSet) {
        this.wxAppConfigSet = wxAppConfigSet;
    }
}
